package com.cg.dao;


import com.cg.entity.Dictionary;

import java.util.List;

/**
 * (Dictionary)表数据库访问层
 *
 * @author chengong
 * @since 2023-12-01 10:24:31
 */
public interface DictionaryMapper {

    /**
     * 根据type表的typeCode查询Dictionary类型
     * @param typeCode
     * @return
     */
    List<Dictionary> queryDicByTypeCode(String typeCode);


    /**
     * 添加数据字典表
     */
    Integer createDictionary(Dictionary dictionary);

}

